package com.crane.oss.app.bean.request.appuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author kevin.wlb
 * @Title VerifyCodeRequest.java
 * @Description 获取验证码请求对象
 * @createTime 2019年6月11日
 */
@Getter
@Setter
@ToString
@ApiModel(description = "获取登录短信验证码参数")
public class AppLoginCodeRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "手机号码", name = "phone")
    @NotNull(message = "手机号码不能为空")
    private String phone;

    @ApiModelProperty(value = "验证码类型：loginCode登录验证码、  verifyCode动态验证码、 forgetPwd忘记密码", name = "bizType")
    private String bizType;

}
